<?php

require_once ('CoreTag.php');

class Anchor extends CoreTag {
	protected $charset;
	protected $coords;
	protected $href;
	protected $hreflang;
	protected $name;
	protected $rel;
	protected $rev;
	protected $shape;
	protected $target;
	
	public function __construct($_tagName)
	{
		parent::__construct($_tagName);
		$this->charset="";
		$this->coords="";
		$this->href="";
		$this->hreflang="";
		$this->name="";
		$this->rel="";
		$this->rev="";
		$this->shape="";
		$this->target="";
		$this->attributeNames=array_merge($this->attributeNames,array('charset','coords','href','hreflang','name','rel','rev','shape','target'));
		$this->attributeValues=array_merge($this->attributeValues,array('','','','','','','','',''));
	}
	
	public function setCharset($_charset)
	{
		$this->charset=(string)$_charset;
		$this->setAttribute('charset',$_charset);
	}
	
	public function getCharset()
	{
		return $this->charset;
	}
	
	public function setCoords($_coords)
	{
		$this->coords=(string)$_coords;
		$this->setAttribute('coords',$_coords);
	}
	
	public function getCoords()
	{
		return $this->coords;
	}
	
	public function setHref($_href)
	{
		$this->href=(string)$_href;
		$this->setAttribute('href',$_href);
	}
	
	public function getHref()
	{
		return $this->href;
	}
	
	public function setHrefLang($_hreflang)
	{
		$this->hreflang=(string)$_hreflang;
		$this->setAttribute('hreflang',$_hreflang);
	}
	
	public function getHrefLang()
	{
		return $this->hreflang;
	}
	
	public function setName($_name)
	{
		$this->name=(string)$_name;
		$this->setAttribute('name',$_name);
	}
	
	public function getName()
	{
		return $this->name;
	}
	
	public function setRel($_rel)
	{
		$this->rel=(string)$_rel;
		$this->setAttribute('rel',$_rel);
	}
	
	public function getRel()
	{
		return $this->rel;
	}
	
	public function setRev($_rev)
	{
		$this->rev=(string)$_rev;
		$this->setAttribute('rev',$_rev);
	}
	
	public function getRev()
	{
		return $this->rev;
	}
	
	public function setShape($_shape)
	{
		$this->shape=(string)$_shape;
		$this->setAttribute('shape',$_shape);
	}
	
	public function getShape()
	{
		return $this->shape;
	}
	
	public function setTarget($_target)
	{
		$this->target=(string)$_target;
		$this->setAttribute('target',$_target);
	}
	
	public function getTarget()
	{
		return $this->target;
	}
}

?>